########################################################################
#
#       ORIGIN:     FUYONG .
#       GROUP:      
#       PROJECT:    USED FOR GCC Makefile
#       DATE:       April 2009.
#       PURPOSE:    Standard application makefile
#                   
#       NOTE:       config hi3716m 
#                   are organised into the linux directory structure.
#
#       $Revision: $
#       $Date: 7-Jan-2009.09:35:44 $ 
########################################################################
HI3716MAPI_DIR = $(ROOT_DIR)/plantform/Hi3716M
LIB_DIR += -L$(ROOT_DIR)/lib
LIB_DIR += -L$(HI3716MAPI_DIR)/lib
INCLUDES += -I$(ROOT_DIR)/include
INCLUDES += -I$(HI3716MAPI_DIR)/include
CFLAGS += -DOS_LINUX
CFLAGS += -DCHIP_TYPE_hi3716mv101 -DBOARD_TYPE_hi3716mstb -DSDK_VERSION="Hi3716MV100R001C00SPC090"
CFLAGS += -march=armv7-a -mcpu=cortex-a9 -mfloat-abi=softfp -mfpu=vfpv3-d16
CFLAGS += -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -Wl,--gc-sections -D_GNU_SOURCE
LIBS += -lpthread -lrt -lm -ldl -lhi_mpi -lhi_ecs -lhigo -lhigoadp -lfreetype -lz -ltde -lhipng -ljpeg -ljpge